﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SmsSend.aspx.cs" Inherits="ITOMMS.Web.InsideManage.SmsSend" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>短信发送</title>
    <link href="../css/AspNetPager.css" rel="stylesheet" type="text/css" />
    <link href="../css/layout.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" id='skin' type="text/css" href="../css/skin/qq/ymPrompt.css" />
    <script type="text/javascript" src="../js/jquery.pack.js"></script>

    <script type="text/javascript" src="../js/jquery.Validator.js"></script>
    <script type="text/javascript" src="../js/ymPrompt.js"></script>
    <script type="text/javascript">
		 function GetCharLength()
		 {
			document.getElementById("lblCharCount").innerHTML="已输入字符数：<font color='red'>"+document.getElementById("txtSmsContent").value.length.toString()+"</font> 个";
		 
		 }
		 
		 
		 
		 $(document).ready(function ()
        {
            if($("#ddlUserMobile").val()!="0")
            {
            $("#txtMobile").hide();
            }
            else
            {
             $("#txtMobile").show();
            }
            
            $("#ddlUserMobile").change( function() {
              if($("#ddlUserMobile").val()!="0")
            {
            $("#txtMobile").hide();
            }
            else
            {
             $("#txtMobile").show();
            }
            }); 


        });	



	</script>
</head>
<body>
   <form id="aspnetForm" runat="server">
        <div id="message" style="background-color: Red">
        </div>
        <table class="tblDataArea" width="100%">
            <tr class="tblQueryArea">
                <td class="tblDataCaption" colspan="2">
                    <div style="width: 210px;" class="title">
                        <img src="../images/lv3.gif" style="margin-bottom: -3px;" alt="" />发送短信<img src="../images/icon_mobile.gif" style="margin-bottom: -3px;" alt="" />
                    </div>
                    <asp:Button id="btnBack" onclick="btnBack_Click" runat="server" Text="返回" CssClass="cssButton"></asp:Button>
                    </td>
            </tr>
            <tr>
                <td class="tdQueryCaption">
                    接收人：
                </td>
                <td class="tdQueryField">
                    &nbsp;<asp:DropDownList ID="ddlUserMobile" runat="server" Width="138px" OnSelectedIndexChanged="ddlUserMobile_SelectedIndexChanged">
                    </asp:DropDownList>
                    <asp:TextBox ID="txtMobile" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout='';" onmousemove="this.className='input_move'" onmouseout="this.className='input_out'" Visible="True"></asp:TextBox>*</td>
            </tr>
            <tr>
                <td class="tdQueryCaption" style="height: 131px;">
                    短信内容：</td>
                <td class="tdQueryField" colspan="1" style="height: 131px">
                    <div>(请不要超过70个字符)&nbsp;<label id="lblCharCount" runat="server" ></label><br />
                    <textarea id="txtSmsContent" style="width: 452px; height: 140px"  onkeyup="javascript:GetCharLength();" runat="server" class="input_out" onblur="this.className='input_off';this.onmouseout=function(){this.className='input_out'};"
                        onfocus="this.className='input_on';this.onmouseout='';" onmousemove="this.className='input_move'" onmouseout="this.className='input_out'"></textarea>*</div></td>
            </tr>
            <tr>
                <td class="tblDataCaption">
                </td>
                <td class="tblDataCaption">
                    <input id="btnSend" runat="server" class="submit5" style="width: 86px; height: 32px"
                        type="button" value="发 送" onserverclick="btnSend_ServerClick" /></td>
            </tr>
        </table>
    </form>
</body>
</html>
        
